package com.cx;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan(basePackages = {"com.cx.mapper","com.cx.dao"})
// ServletComponentScan 用于扫描Servlet相关内容
// Servlet  ----   Filter   ----- Listener
@ServletComponentScan(basePackages = {"com.cx.filter","com.cx.servlet"})
public class InstantApplication {
    public static void main(String[] args) {

        SpringApplication.run(InstantApplication.class, args);
    }
}
